package com.chaos.auth.api.dto.wechat;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.chaos.framework.model.data.DATA;
import lombok.*;
import lombok.experimental.Accessors;

@Deprecated

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class WeChatPublicLoginResData extends DATA {

    @JsonProperty("access_token")
    private String accessToken;
    @JsonProperty("session_key")
    private String sessionKey;
    private Long expiresIn;

    @JsonProperty("refresh_token")
    private String refreshToken;
    private String openid;
    private String scope;
    @JsonProperty("is_snapshotuser")
    private Integer isSnapshotuser;
    private String unionid;

    private String errcode;
    private String errmsg;
}
